package com.mt.fpb.mapper;

import com.mt.fpb.model.WxProductOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;
@Repository
@Mapper
public interface OrderMoneyMapper {
    List<WxProductOrder> selectId(String status);
    Float selectProfit(String Pid);
    void updateOrderMoney(@Param(value = "newMoney") Float newMoney, @Param(value = "sid") String sid);
    String selectUserID(String sid);

    void updateOrderStatus(@Param(value = "id") String id, @Param(value = "status") String status);
}
